package game;

import java.awt.Color;

public class Door extends EventPlatform {
	private static final long serialVersionUID = 1L;
	private int xDist;
	private int yDist;
	
	public Door(Level l, int x, int y, int w, int h, Color c, int s, int t){
		super(l,x,y,w,h,c);
		xDist = s;
		yDist = t;
	}
	
	public void act(){
		x += xDist;
		y += yDist;
	}
}
